package com.liveinstars.activity.application.service;

import com.liveinstars.activity.business.clockin.service.ClockInService;
import com.liveinstars.api.dto.ClockinDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ClockInApplicationService {
    @Autowired
    ClockInService clockInService;

    public ClockinDto getDetailById(Integer id) {
        return clockInService.getDetailById(id);
    }

    public ClockinDto getMyClockIn(Integer userId, Integer activityId) {
        return clockInService.getMyClockIn(userId, activityId);
    }

    public ClockinDto createClockIn(ClockinDto dto) {
        return clockInService.createClockIn(dto);
    }
}
